package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.DailyBean;

/**
* 数据说明：交易日每天15点～16点之间。本接口是未复权行情，停牌期间不提供数据。
* @author: codesmith
**/
@Data
@TableName("daily")
public class DailyEntity implements DailyBean {
    
    /*
    * 股票代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;
    /*
    * 交易日期
    */
    @TableId
    @TableField("`trade_date`") protected LocalDate tradeDate;

    @TableField("`open`") protected Double open;

    @TableField("`high`") protected Double high;

    @TableField("`low`") protected Double low;

    @TableField("`close`") protected Double close;

    @TableField("`pre_close`") protected Double preClose;

    @TableField("`change`") protected Double change;

    @TableField("`pct_chg`") protected Double pctChg;

    @TableField("`vol`") protected Double vol;

    @TableField("`amount`") protected Double amount;
}